package com.woniuxy.dao;

import com.woniuxy.entity.Loginmsg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * (Loginmsg)表数据库访问层
 *
 * @author
 * @since 2021-02-24 16:02:03
 */
@Mapper
public interface LoginmsgDao {

    /**
     * 查询所有数据
     *
     * @param
     * @return 实例对象
     */
    List<Loginmsg> queryAll();

    List<Loginmsg> queryByTime(@Param("timeOne") Date timeOne,@Param("timeTwo") Date timeTwo);

    int insert(Loginmsg loginmsg);
}